﻿using DoNet.Core;
using DoNet.System.Dtos;
using DoNet.System.Models;

namespace DoNet.System.IServices
{
    public interface IRoleService : IService<Role, RoleOutputDto>
    {
        #region 同步方法
        /// <summary>
        /// 
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        IEnumerable<Role> GetListByIds(IEnumerable<long> ids);
        #endregion 同步方法

        #region 异步方法
        /// <summary>
        /// 
        /// </summary>
        /// <param name="ids"></param>
        /// <returns></returns>
        Task<IEnumerable<Role>> GetListByIdsAsync(IEnumerable<long> ids);
        #endregion 异步方法
    }
}
